package vcp.server.interfaces;

import ocsf.server.ConnectionToClient;
import vcp.server.factories.DAOFactoryAbstract;

public interface IServer
{

	/** gets data block **/
	public Object getDBLock();

	/**
	 * checks all active connections
	 * 
	 * @return array list with connections
	 */
	public ConnectionToClient[] getConnections();

	/**
	 * gets generated id for table
	 * 
	 * @param tableName
	 * @return id
	 */
	public Integer getGeneratedID(String tableName);

	/**
	 * 
	 * @return DAO factory
	 */
	public DAOFactoryAbstract getDaoFactory();
}